package com.aipolice.dao;

import com.aipolice.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

public interface AdminDAO extends JpaRepository<Admin,Integer> {
    Admin findAdminByUsername(String username);
    Admin getAdminByUsernameAndPassword(String username,String password);
}
